<template>
    <div>
        <adminHeader @menuListChange="menuListChange" />
        <adminMain :menuList="menuList">
            <router-view />
        </adminMain>
    </div>
</template>


<script setup>
import adminHeader from '@/components/adminHeader.vue';
import adminMain from '@/components/adminMain.vue';
import { ref } from 'vue';

const menuList = ref([])
const menuListChange = (data) => {
    menuList.value = data;
}
</script>

